#include "SpawnDifficultyLoader.h"

//===== PUBLIC FUNCTIONS =====
int SpawnDifficultyLoader::getCatDifficulty(int catType)
{
	int difficulty = 0;
	switch (catType)
	{
		case BOUNCE_CAT:
			difficulty = BOUNCE_DIFFICULTY;
			break;

		case FAT_CAT:
			difficulty = FAT_DIFFICULTY;
			break;

		case NINJA_CAT:
			difficulty = NINJA_DIFFICULTY;
			break;

		case OLYMPIC_CAT:
			difficulty = OLYMPIC_DIFFICULTY;
			break;

		case PUNK_CAT:
			difficulty = PUNK_DIFFICULTY;
			break;

		case WITCH_CAT:
			difficulty = WITCH_DIFFICULTY;
			break;

		default:
			break;
	}
	return difficulty;
}

float SpawnDifficultyLoader::getCatInterval(int catType)
{
	float interval = 0;
	switch (catType)
	{
		case BOUNCE_CAT:
			interval = BOUNCE_INTERVAL;
			break;

		case FAT_CAT:
			interval = FAT_INTERVAL;
			break;

		case NINJA_CAT:
			interval = NINJA_INTERVAL;
			break;

		case OLYMPIC_CAT:
			interval = OLYMPIC_INTERVAL;
			break;

		case PUNK_CAT:
			interval = PUNK_INTERVAL;
			break;

		case WITCH_CAT:
			interval = WITCH_INTERVAL;
			break;

		default:
			break;
	}
	return interval;
}
